package com.naiterui.ehp.bs.agent.repository;

import com.naiterui.ehp.bs.agent.vo.AgentItemVO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import com.naiterui.common.repository.core.BaseJpaRepository;
import com.naiterui.ehp.bs.agent.entity.AgAgent;

import java.util.List;

/**
 * @author yiren
 * @since 2022/2/15
 */
@Repository
public interface IAgAgentRepository extends BaseJpaRepository<AgAgent, Long> {
	AgAgent findByPhone(String phone);

	Long countByCardNo(String cardNo);
}
